@import '@styles/theme.scss';
@import '@styles/minx.scss';
@import "@styles/icon.font.scss";

.post__item{
    background-color: #fff;
    margin-bottom: 20px;
    &__creator{
        height: 120px;
        display: flex;
        justify-content: flex-start;
        flex-direction: row;
        padding: 15px 20px;
        &--left{
            width: 100px;
            height: 100px;
            overflow: hidden;
            border-radius: 50%;
        }
        &--right{
            flex: 1;
            margin-left: 10px;
        }
        &__avator{
            width: 100%;
            height: 100%;
        }
        &__id{
            display: block;
        }
        &__publishTime{
            color: #aaa;
            font-size: 28px;
        }
    }
    &__content{
        width: 100%;
        padding: 10px 8px;
        &__images{
            display: flex;
            justify-content: flex-start;
            flex-wrap: wrap;
            flex-direction: row;
            width: 100%;
            &__item{
                width:232px;
                height: 232px;
                // :not(:nth-child(3n)){
                    
                // }
                margin: 3px;
                border-radius: 16px;
            }
        }

        &__text{
            margin:15px 0;
            font-weight: bold;
            color: $text-color;
        }
    }
    &__intro{
        padding: 15px 10px;
        &__bar{
            @include flexBetween();
            width: 100%;
        }
        &__messageBtn{
            width: 120px;
            height: 50px;
            line-height: 50px;
            text-align: center;
            border:1px solid $btn-bg;
            border-radius: 25px;
            position: absolute;
            right: 10px;
            color: $btn-bg;
        }
        &__followBtn{
            width: 120px;
            height: 50px;
            line-height: 50px;
            text-align: center;
            border:1px solid $btn-bg;
            background-color: $btn-bg;
            color: #fff;
            border-radius: 25px;
            position: absolute;
            right: 10px;
        }
        &__creator{
           @include flexStart();
            &__avatar{
                width: 80px;
                height: 80px;
                border-radius: 40px;
                margin-right: 10px;
            }
            &__id{
                font-size: 23px;
                font-weight: bold;
                color: $text-color;
            }
            &__createTime{
                color:$text-color-light
            }
        }
    }
    &__btns{
        padding: 0 20px;
        @include flexBetween;
        &__group{
            @include flexStart();
            
        }
        &__thumbsUp{
            width: 24px;
            height: 22px;
            margin-right: 3px;
        }
        &__comment{
            width: 24px;
            height: 22px;
            margin-right: 3px;
        }
    }
}

.thumbsUpIcon{
    color: red;
}